"""
Author: luthor luthor-li@qq.com
Date: 2024-05-02 23:47:47
LastEditors: luthor luthor-li@qq.com
LastEditTime: 2024-05-02 23:47:54
FilePath: \connecteverything\common\tiltsensor.py
Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
"""

from machine import Pin
import time


p23 = Pin(23, Pin.IN)

while True:
    print(p23.value())
    time.sleep(0.1)
